/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package clientListener;

import appClient.ConnectClient;
import appClient.Forms;
import engine.FullPersone;
import protocol.ClientProtocol;

/**
 *
 * @author User
 */
public class ClientEvent {
  public ConnectClient connectClient;
  public String data;
  public String add;
  public FullPersone fp;
  public ClientProtocol cp;
  public Forms ab;
  
  public ClientEvent(){
  }
  
  public ClientEvent(ConnectClient connectClient, String data, String add){
    this.connectClient = connectClient;
    this.data = data;
    this.add = add;
  }
  
   public ClientEvent(ConnectClient connectClient, String add){
    this.connectClient = connectClient;
    this.add = add;
  }
   
   public ClientEvent(FullPersone fp, ClientProtocol cp, ConnectClient connectClient){
    this.fp = fp;
    this.cp = cp;
    this.connectClient = connectClient;
  }
   
   public ClientEvent(Forms ab, String types){
    this.ab = ab;
    this.data = types;
  }
  
}
